const { testFc, name } = require('./index.js');

describe(name, () => {
  test('A. candies = 7, num_people = 4', () => {
    const candies = 7,
      num_people = 4;
    expect(testFc(candies, num_people)).toEqual([1, 2, 3, 1]);
  });

  test('B. candies = 10, num_people = 3', () => {
    const candies = 10,
      num_people = 3;
    expect(testFc(candies, num_people)).toEqual([5, 2, 3]);
  });
});
